package cn.six1943.deepchat.module.ai.controller.admin.umodel.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 提供商分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppProviderInstPageReqVO extends PageParam {

    @Schema(description = "1官方2自定义", example = "2")
    private Integer dataType;

    @Schema(description = "服务商id")
    private Long providerId;

    @Schema(description = "服务商api类型")
    private String providerType;

    @Schema(description = "名称", example = "王五")
    private String name;

    @Schema(description = "图标")
    private String avatar;

    @Schema(description = "base_url", example = "https://www.iocoder.cn")
    private String baseUrl;

    @Schema(description = "api_version")
    private String apiVersion;

    @Schema(description = "api_region")
    private String apiRegion;

    @Schema(description = "api_ak")
    private String apiAk;

    @Schema(description = "api_sk")
    private String apiSk;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "状态", example = "2")
    private Integer status;

}